package com.cbs.java.component.application;

import org.kohsuke.args4j.Option;

import java.io.File;

/**
 * Created by broche on 10/27/16.
 */
public class BaseArgs {
    @Option(name = "-i", aliases = "-input", usage = "input file/directory(File)")
    private File inputFile;

    @Option(name = "--nocolor", usage = "print colorful information(Boolean)")
    private boolean nocolor = false;

    @Option(name = "--verbose", usage = "print extra information(Boolean)")
    private boolean verbose = false;

    @Option(name = "--debug", usage = "print debug information(Boolean)")
    private boolean debug = false;

    public File getInputFile() {
        return inputFile;
    }

    public boolean isNocolor() {
        return nocolor;
    }

    public boolean isVerbose() {
        return verbose;
    }

    public boolean isDebug() {
        return debug;
    }
}
